#ifndef REQUEST_H
#define REQUEST_H

#include <QString>
#include <QStringList>
#include <QDateTime>
#include <QDebug>

class Request
{
public:
    Request();
    Request(QString log);
    QString host();
    int timestamp();
    QString page();
    int duration();
    void setHost(QString host);
    void setTimestamp(int timestamp);
    void setPage(QString page);
    void setDuration(int duration);

private:
    QString __host;
    unsigned int __timestamp;
    QString __page;
    int __duration;

    QString replaceMonth(QString line);
};

#endif // REQUEST_H
